package com.mangowang.module.main.adapter;

import android.content.Context;
import android.graphics.Color;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.mangowang.lib.common.proto.Mystock;
import com.mangowang.lib.common.proto.Transfer;
import com.mangowang.module.main.R;

import java.util.List;

public class AllowBanAdapter extends BaseQuickAdapter<Transfer.pattern, BaseViewHolder> {
    public AllowBanAdapter(Context context, List<Transfer.pattern> dataList) {
        super(R.layout.item_ban, dataList);
    }

    @Override
    protected void convert(BaseViewHolder helper, Transfer.pattern item) {
        helper.setText(R.id.tv_name,item.getName());
    }
}